package cn.minsh.lims.eoms.modules.app.service;

import cn.minsh.lims.eoms.common.utils.PageUtils;
import cn.minsh.lims.eoms.modules.app.controller.req.InspectionPlanListReq;
import cn.minsh.lims.eoms.modules.app.controller.req.InspectionPlanReq;
import cn.minsh.lims.eoms.modules.app.controller.res.InspectionPlanRes;
import cn.minsh.lims.eoms.modules.app.entity.InspectionPlanEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 巡检计划
 *
 * @author lht
 * @email sunlightcs@gmail.com
 * @date 2021-04-24 16:48:07
 */
public interface InspectionPlanService extends IService<InspectionPlanEntity> {

    PageUtils queryPage(InspectionPlanListReq req);

    Boolean savePlan(InspectionPlanReq req,Long userId) ;
    Boolean updatePlan(InspectionPlanReq req,Long userId) ;

    List<InspectionPlanRes> queryInspectionPlanList(Integer status) ;

    InspectionPlanRes queryById(Long id);
}

